local M = {}

M.CLIENT_CMD = {
    LOGIN = 1,
    LOGOUT = 2,
    REGIST = 3,
    GET_PLAYER_BASE_INFO = 4,
    ENTER_DEFAULT_SCENE = 5,
    MOVE = 6,
    USE_SKILL = 7,
}

M.SERVER_CMD = {
    COMMON = 1,
    LOGIN_RESPONSE = 2,
    PLAYER_BASE_INFO = 3,
    REGIST_RESPONSE = 4,
    ENTER_DEFAULT_SCENE_RESPONSE = 5,
    MOVE = 6,
    USE_SKILL_RESPONSE = 7,
}

M.ERROR_CODE = {
    SUCCESS = 0;
    INVALID_PARAM = 1;
    NOT_FOUND = 2;
    PERMISSION_DENIED = 3;
    SERVER_ERROR = 4;
}


return M